package com.linko.intelligent.base;


import lombok.Data;

@Data
public class BaseQuery {

    private Integer ps;

    private Integer pn;

    //数据权限key  值为resourceId
    private Long powerKey;

    private String sortStr;

    {
        ps = 15;
        pn = 1;
        sortStr = "create_time desc";
    }

    public Integer getPs() {
        return ps;
    }

    public void setPs(Integer ps) {
        this.ps = ps;
    }

    public Integer getPn() {
        return pn;
    }

    public void setPn(Integer pn) {
        this.pn = pn;
    }

    public Long getPowerKey() {
        return powerKey;
    }

    public void setPowerKey(Long powerKey) {
        this.powerKey = powerKey;
    }

    public String getSortStr() {
        return sortStr;
    }

    public void setSortStr(String sortStr) {
        this.sortStr = sortStr;
    }
}
